package com.wy.panda.common.util;

import java.util.Collection;
import java.util.Map;

import org.springframework.lang.Nullable;

/**
 * 集合工具类
 * 
 * @author wangyuan
 * @since 2018年7月19日
 */
public class CollectionUtils extends org.springframework.util.CollectionUtils {
	
	public static boolean isNotEmpty(@Nullable Collection<?> collection) {
        return !isEmpty(collection);
    }
    
    public static boolean isNotEmpty(@Nullable Map<?, ?> map) {
        return !isEmpty(map);
    }
}
